package com.ruoyi.camp.mapper;

import java.util.List;
import com.ruoyi.camp.domain.CAppointment;

/**
 * 营地预约Mapper接口
 * 
 * @author ruoyi
 * @date 2024-11-26
 */
public interface CAppointmentMapper 
{
    /**
     * 查询营地预约
     * 
     * @param appointmentid 营地预约主键
     * @return 营地预约
     */
    public CAppointment selectCAppointmentByAppointmentid(String appointmentid);

    /**
     * 查询营地预约列表
     * 
     * @param cAppointment 营地预约
     * @return 营地预约集合
     */
    public List<CAppointment> selectCAppointmentList(CAppointment cAppointment);

    /**
     * 新增营地预约
     * 
     * @param cAppointment 营地预约
     * @return 结果
     */
    public int insertCAppointment(CAppointment cAppointment);

    /**
     * 修改营地预约
     * 
     * @param cAppointment 营地预约
     * @return 结果
     */
    public int updateCAppointment(CAppointment cAppointment);

    /**
     * 删除营地预约
     * 
     * @param appointmentid 营地预约主键
     * @return 结果
     */
    public int deleteCAppointmentByAppointmentid(String appointmentid);

    /**
     * 批量删除营地预约
     * 
     * @param appointmentids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCAppointmentByAppointmentids(String[] appointmentids);
}
